//
//  MyTagView.h
//  CommunityApp
//
//  Created by 秦乾龙 on 16/12/27.
//  Copyright © 2016年 秦乾龙. All rights reserved.
//

//#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class MyTagView;
@protocol TagViewDelegate <NSObject>

@optional
- (void)didSelectedTagArray:(NSMutableArray *)nameArray;

@end

@interface MyTagView : UIView
@property (nonatomic,copy)   NSString *tagTitle;
@property (nonatomic,assign) id <TagViewDelegate> delegate;

//不需要记录上次的选择
- (id)initWithTitle:(NSString *)title contentTitleArray:(NSMutableArray *)contentArray frame:(CGRect)frame delegate:(id)delegate;

//可以记录上次的选择
- (id)initWithTitle:(NSString *)title tagArray:(NSMutableArray *)tagArray selectedTagArray:(NSMutableArray *)selectedArray frame:(CGRect)frame delegate:(id)delagte;
@end
